.App {
  text-align: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 20px;
}

.App-header {
  margin-bottom: 40px;
  color: white;
}

.App-header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.App-header p {
  font-size: 1.2rem;
  opacity: 0.9;
}

.App-main {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
  padding: 20px;
}

.example-section {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.example-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.example-section h2 {
  color: #333;
  margin-bottom: 20px;
  font-size: 1.5rem;
  font-weight: 600;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .App-main {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 10px;
  }

  .App-header h1 {
    font-size: 2rem;
  }

  .App-header p {
    font-size: 1rem;
  }

  .example-section {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .App {
    padding: 10px;
  }

  .App-header h1 {
    font-size: 1.8rem;
  }
}
